// 漫画详情
import DetailCartoon from '../pages/detail-card';
// 小说详情
import DetailStore from '../pages/detail-store';
// 视频详情
import DetailVideo from '../pages/detail-video';
// 搜索页面
import Search from '../pages/search';
// 搜索详情页
import SearchDetail from '../pages/search/detail';
// 排行榜
import Rank from '../pages/rank';
// 今日更新
import TodayUpdate from '../pages/today-update';
// 查看更多
import ViewMore from '../pages/view-more';
// 潜力新作列表
import VipNew from '../pages/vip-new';
// 充值页
import ToPay from '../pages/to-pay';
// 主题精选
import ThemeSelected from '../pages/theme-selected';
// 设置
import Setting from '../pages/mine/setting';
// 修改密码
import EditPsd from '../pages/mine/edit-psd';
// 绑定手机
import BindMobile from '../pages/mine/bind-mobile';
// 购买记录
import PayHistory from '../pages/mine/pay-history';
// 浏览记录
import ViewHistory from '../pages/mine/view-history';
// 消息
import Message from '../pages/mine/message';
// 漫画详情页面开发
import ReaderDetail from '../pages/detail-card/reader-detail';

const routes = [
  {
    name: 'rank',
    component: Rank,
  },
  {
    name: 'cartoon-detail',
    component: DetailCartoon,
  },
  {
    name: 'store-detail',
    component: DetailStore,
  },
  {
    name: 'video-detail',
    component: DetailVideo,
  },
  {
    name: 'search',
    component: Search,
  },
  {
    name: 'search-detail',
    component: SearchDetail,
  },
  {
    name: 'today-update',
    component: TodayUpdate,
  },
  {
    name: 'view-more',
    component: ViewMore,
  },
  {
    name: 'vip-new',
    component: VipNew,
  },
  {
    name: 'to-pay',
    component: ToPay,
  },
  {
    name: 'theme-selected',
    component: ThemeSelected,
  },
  {
    name: 'mine-setting',
    component: Setting,
  },
  {
    name: 'edit-psd',
    component: EditPsd,
  },
  {
    name: 'bind-mobile',
    component: BindMobile,
  },
  {
    name: 'pay-history',
    component: PayHistory,
  },
  {
    name: 'view-history',
    component: ViewHistory,
  },
  {
    name: 'message',
    component: Message,
  },
  {
    name: 'reader-detail',
    component: ReaderDetail,
  },
];

export default routes;
